#-------------------------------------------------
#
# Project created by QtCreator 2014-01-03T11:07:23
#
#-------------------------------------------------
# Qt4 need QDesktopServices
QT = core gui sql

TARGET = common
TEMPLATE = lib
DEFINES += BUILD_QOPT_LIB

CONFIG *= common-buildlib staticlib
staticlib: DEFINES += BUILD_COMMON_STATIC
#var with '_' can not pass to pri?
PROJECTROOT = $$PWD/../..
!include(libcommon.pri): error("could not find libcommon.pri")
preparePaths($$OUT_PWD/../../out)

INCLUDEPATH += $$PROJECTROOT/src

RESOURCES += \
    theme/theme.qrc

!winrt:*msvc*: LIBS += -lUser32

HEADERS = common.h \
    Config.h \
    qoptions.h \
    common_export.h

SOURCES = common.cpp \
    Config.cpp \
    qoptions.cpp

SOURCES +=

INSTALLS =
